LINUX_KERNEL_PATH = /home/arno/work/elfboard/linux-4.1.15-elf1
CURRENT_PATH := $(shell pwd)
CROSS_COMPILE = arm-poky-linux-gnueabi-
CC = $(CROSS_COMPILE)gcc

obj-m :=mutil_globalmem.o

all:
	$(MAKE) -C $(LINUX_KERNEL_PATH) M=$(CURRENT_PATH) modules
clean:
	$(MAKE) -C $(LINUX_KERNEL_PATH) M=$(CURRENT_PATH) modules clean
.PHONY: modules clean

